-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace aria-selected with aria-hidden #774
Conversation
Hello! Thanks for this contribution. I could certainly use help with ARIA. I currently use |
Yes, The patch is more or less a straight replacement of |
Thanks for providing this info. I still feel that |
I believe the thinking is that slides not visible to sighted users (off screen or out of view of the flickity viewport in this case) should also not be available to unsighted users (via |
Okay then. If you want to add |
I don't see a need for additional code. The patch is a replacement of the |
Okay. I feel we're talking past each other now. I appreciate your contribution and the discussion, but I'm going to pass on this PR. |
That's unfortunate. If you'd like test results you can simply use Chrome to observe the difference. Please let me know if you have any further questions or decide to reconsider. Chrome > Audits > Perform an audit... Results for https://flickity.metafizzy.co/ |
I agree with Daniel on this issue and would like to see the |
First step would be adding API to get visible elements in viewport. #638 |
I respectfully disagree. There is no reason this patch can‘t (or shouldn‘t) be implemented right now without an “API to get visible elements in the viewport.” This patch is nothing more than a fix to a misused and misunderstood ARIA attribute ( |
When this will get merged? |
This feature is now merged and will go out in Flickity v2.2.0. @danielkorte Thank you for your contribution and for helping me see the light on this one. Sorry it took so long to make it in |
This fix has been released with v2.2.0. Thanks again! |
Hi @desandro : when we enabling the voice over and accessibility carousel scrolling not working with Three-finger triple tap in Safari browser in all ios device. android application is working fine. please let us know if you have solution. i have applied accessibility improvement PR, but it is not helping. please let me know if any vanila js fix for this issue. |
Problem
[aria-*]
attributes do not match their roles for slides. Each ARIArole
supports a specific subset ofaria-*
attributes. Mismatching these invalidates thearia-*
attributes.Solution
The
aria-selected
is not appropriate here. Both examples below usearia-hidden
which is an available ARIA attribute for almost any element.